<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [
	'/exchange/limit' => 'index/ExchangeLimit/index',
	'/exchange/limit/handleExchange' => ['index/ExchangeLimit/handleExchange', ['method' => 'post']],

	'/exchange/second' => 'index/ExchangeSecond/index',
	'/exchange/second/handleExchange' => ['index/ExchangeSecond/handleExchange', ['method' => 'post']],

	'/fruit/sell/handleSell' => ['index/FruitSell/handleSell', ['method' => 'post']],
	'/fruit/sell' => 'index/FruitSell/index',
	'/fruit/buy/handleBuy' => ['index/FruitBuy/handleBuy', ['method' => 'post']],
	'/fruit/buy' => 'index/FruitBuy/index',

	'/fruit/first/record' => 'index/FruitFirst/record',

	'/fruit/friends' => 'index/FruitFriends/index',
	'/fruit/friends/seedingFirst' => 'index/FruitFriends/seedingFirst',
	'/fruit/friends/getSeedingFirst' => 'index/FruitFriends/getSeedingFirst',

	'/fruit/second/record' => 'index/FruitSecond/record',
	'/fruit/second' => 'index/FruitSecond/index',

	'/seedingFirst/create' => ['index/SeedingFirst/create', ['method' => 'post']],
	'/seedingFirst/addSeed' => ['index/SeedingFirst/addSeed', ['method' => 'post']],
	'/seedingFirst/getSeed' => ['index/SeedingFirst/getSeed', ['method' => 'post']],

	'/seedingSecond/create' => ['index/SeedingSecond/create', ['method' => 'post']],
	'/seedingSecond/addSeed' => ['index/SeedingSecond/addSeed', ['method' => 'post']],
	'/seedingSecond/getSeed' => ['index/SeedingSecond/getSeed', ['method' => 'post']],

	'/seed/first/record' => 'index/SeedFirst/record',
	'/seed/second/record' => 'index/SeedSecond/record',

	'/shop/handleBuyFirst' => ['index/Shop/handleBuyFirst', ['method' => 'post']],
	'/shop/handleBuySecond' => ['index/Shop/handleBuySecond', ['method' => 'post']],
	'/shop' => 'index/Shop/index',

	'/login' => 'index/Auth/index',
	'/handleLogin' => ['index/Auth/login', ['method' => 'post']],
	'/logout' => 'index/Auth/logout',

	'/lottery' => 'index/Lottery/index',
	'/lottery/lottery' => 'index/Lottery/lottery',
	'/lottery/handleLottery' => 'index/Lottery/handleLottery',
	'/lottery/getRand' => 'index/Lottery/getRand',

	'/' => 'index/Index/index'
];
